#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    int a, b, c;
    scanf("%d %d", &a, &b);
    a %= 100;
    b %= 100;
    c = (a + b) % 100;
    printf("%d", c);

    return 0;
}